import React from 'react';

import Constants from '../../common/Constants';
import BaseAction from '../common/BaseAction';

//读取本地步数
export default class SportGetTodayStepsAction extends BaseAction {
  constructor(props) {
    super(props);
    this.moduleType = Constants.MODULE_TYPE.SPORT;
    this.name = "SportGetTodayStepsAction";
  }

  finish(step) {
    this.caller.setState({
      healthyData:{...step},
    })
  }
}
